package com.growthgate.bootcommon.entity.enums;

import lombok.AllArgsConstructor;
import lombok.Getter;
import org.jetbrains.annotations.Contract;

/**
 * Sex
 *
 * @author GrowthGate
 * @date 2020/1/2
 */
@Getter
@AllArgsConstructor
public enum Sex {

    /**
     * 保密
     */
    SECRET("保密"),
    /**
     * 男
     */
    MALE("男"),
    /**
     * 女
     */
    FEMALE("女");

    private String name;

    @Override
    @Contract(pure = true)
    public String toString() {
        return name;
    }

}
